package peer.tools;

import java.util.Random;

public class RandomNum {
	static Random ran=new Random();
	public RandomNum(){
		ran=new Random();
	}
	
	public static int randomInt(){
		return ran.nextInt();
	}
	
	public static int randomInt(int range){
		return ran.nextInt(range);
	}
	
	public static Long randomLong(){
		return ran.nextLong();
	}
	
	public static Float randomFloat(){
		return ran.nextFloat();
	}
	

}
